home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 November / PCWorld_2003-11_cd.bin / Software / Topware / sandra / san2004-989-Win32-OCA.exe / {app} / examples / ReportStyle.xsl < prev    next >
Extensible Markup Language  |  2001-06-27  |  1KB  |  56 lines

  1. <?xml version="1.0"?>
  2. <HTML xmlns:xsl="http://www.w3.org/TR/WD-xsl">
  3.  
  4. <BODY>
  5.  
  6. <xsl:for-each select="Module">
  7.   <h2><xsl:value-of select="Title"/></h2>
  8.  
  9.   <xsl:for-each select="DeviceClass">
  10.     <h3><xsl:value-of select="Title"/></h3>
  11.  
  12.     <xsl:for-each select="Device">
  13.       <h3><xsl:value-of select="Title"/></h3>
  14.  
  15.       <xsl:for-each select="InfoGroup">
  16.         <h4><xsl:value-of select="Title"/></h4>
  17.  
  18.         <xsl:for-each select="InfoItem">
  19.           <DIV CLASS="field"><xsl:value-of select="Title"/> : <xsl:value-of select="Value"/></DIV>
  20.         </xsl:for-each>
  21.  
  22.       </xsl:for-each>
  23.     </xsl:for-each>
  24.   </xsl:for-each>
  25.  
  26.   <xsl:for-each select="Device">
  27.     <h3><xsl:value-of select="Title"/></h3>
  28.  
  29.     <xsl:for-each select="InfoGroup">
  30.       <h4><xsl:value-of select="Title"/></h4>
  31.  
  32.       <xsl:for-each select="InfoItem">
  33.         <DIV CLASS="field"><xsl:value-of select="Title"/> : <xsl:value-of select="Value"/></DIV>
  34.       </xsl:for-each>
  35.  
  36.     </xsl:for-each>
  37.   </xsl:for-each>
  38.  
  39.   <xsl:for-each select="InfoGroup">
  40.     <h4><xsl:value-of select="Title"/></h4>
  41.  
  42.     <xsl:for-each select="InfoItem">
  43.       <DIV CLASS="field"><xsl:value-of select="Title"/> : <xsl:value-of select="Value"/></DIV>
  44.     </xsl:for-each>
  45.  
  46.   </xsl:for-each>
  47.  
  48.   <xsl:for-each select="InfoItem">
  49.       <DIV CLASS="field"><xsl:value-of select="Title"/> : <xsl:value-of select="Value"/></DIV>
  50.   </xsl:for-each>
  51.  
  52. </xsl:for-each>
  53.  
  54.  
  55. </BODY>
  56. </HTML>